home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
MITS.E4
< prev
next >
Wrap
Text File
|
1996-04-01
|
2KB
|
132 lines
name Mitsubishi 4 Axis
% 00
a >1 Z
b ->3.>5 =
c >1 Z
d ->3.>5 =
e >1 Z
f ->3.>5 =
O >4
N >4
G >2
X ->3.>5
x ->3.>5 U IncFrom X
Y ->3.>5
y ->3.>5 V IncFrom Y
H ->3.>5 Mult -1 { HDist}
V ->3.>5 Mult -1 { VDist}
h ->3.>5
v ->3.>5
Z >2
u 00 "" # to hold last U, V...
v 00 ""
A 00 "" Mult -1 # to Hold HDist, VDist...
B 00 "" Mult -1
U ->3.>5 IncFrom u Add A
V ->3.>5 IncFrom v Add B
I ->3.>5
J ->3.>5
K ->3.>5 IncFrom U
L ->3.>5 IncFrom V
E >2
F >3.1
h >2 F
H >2
= ->3.>5
M >2
ModalLetters F
MaxRad 999 .0005 # Chordal breakdown value
ArcWithSame? Y # Support XY/UV arc records
ArcWithLine? N # Support UV arc records
ModalGs
Sequence#s N 0 1 1 Letter, freq, incr, start.
First#? N
Last#? N
HCode X U
VCode Y V
FeedCode F
Comment ( )
Spindle 3 4 5
Coolant 8 9 7
DComp 41 42 40
LComp 43 49
Spaces? Y
CtrIncremental? Y
ByQuadrants? N
CtrCode I J K L
Feed G<1>
Rapid G<0>
Cw G<2>
Ccw G<3>
Work G
Ask <Val1> "What is your `Z1' value?" "50"
Ask <Val2> "What is your `Z2' value?" "25"
Ask <Val3> "What is your `Z5' value?" "0"
Ask <Val4> "What is your `H1' value?" "200"
StartCode
%<0>
a<1> b<Val1> c<2> d<Val2> e<5> f<Val3>
H<1> =<Val4>
G<90>
E<1> h<1> H<1>
G<92> X<0> Y<0>
End
CWCode
G<2> I<Ival> J<Jval> X<H> Y<V>
End
CcWCode
G<3> I<Ival> J<Jval> X<H> Y<V>
End
1stToolChange
G<0> X<H> Y<V> u<H2> v<V2>
M<20>
M<80> M<82> M<84>
M<90>
End
Infeed
G<1> G<Side> X<H> Y<V> x<H2> y<V2> u<H2> v<V2> H<DComp> F<FRate>
End
LineCode
G<1> A<HDist> B<VDist> X<H> Y<V> U<H2> V<V2> u<H2> v<V2> F<Frate>
end
RapidCode
G<0> A<HDist> B<VDist> X<H> Y<V> u<H2> v<V2>
end
Outfeed
G<0> G<40> A<HDist> B<VDist> X<H> Y<V> U<H2> V<V2>
end
ToolChange
G<0> X<H> Y<V>
End
EndCode
M<2>
%<0>
End